<div class="fileinput fileinput-new" data-provides="fileinput">
    <div class="fileinput-new thumbnail" data-trigger="fileinput">
        <img src="{$url}" alt="没有图片" style="max-width: {$maxwidth};max-height:{$maxheight}">
    </div>
    <div class="fileinput-preview fileinput-exists thumbnail"  style="max-width: {$maxwidth};max-height:{$maxheight}"></div>
    <div>
        <span class="btn btn-white btn-file btn-xs">
            <span class="fileinput-new">选择</span>
            <span class="fileinput-exists">修改</span>
            <input type="file" name="{$name}" accept="image/png;image/jpeg;image;jpg">
        </span>
        <a href="#" class="btn btn-orange fileinput-exists btn-xs" data-dismiss="fileinput">移除</a>
    </div>
</div>
